import { createApp } from 'vue'
import App from './App.vue'

import TabOne from './components/TabOne.vue'
import TabTwo from './components/TabTwo.vue'
import TabThree from './components/TabThree.vue'

import { createRouter, createWebHashHistory } from 'vue-router'
const routes = [
    { path: '/', redirect: '/one' },
    { path: '/one', component: TabOne },
    { path: '/two', component: TabTwo },
    { path: '/three', component: TabThree },
]
const router = createRouter({
    history: createWebHashHistory(),
    routes: routes
})

const app = createApp(App)
app.use(router)
app.mount('#app')

